package cn.dglydrpy.study.ssm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.dglydrpy.study.ssm.dao.entity.Account;
import cn.dglydrpy.study.ssm.dao.mapper.AccountMapper;
import cn.dglydrpy.study.ssm.service.IAccountService;

@Service
@Transactional
public class AccountService implements IAccountService {

    @Autowired
    private AccountMapper accountMapper;

    @Override
    public List<Account> queryAccountList() throws Exception {
        return accountMapper.queryAccountList();
    }
}
